import React from 'react'
import { hot } from 'react-hot-loader'
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'

import App from 'pages/HomePage'

const routerMap = ()=>(
	<Router>
        <Switch>
            <Route path='/' exact component={App}/>
        </Switch>
    </Router>
)

export default hot(module)(routerMap)
